package com.aabte.springcloudlearn.common.beans;

import com.aabte.springcloudlearn.common.constants.ErrorConstants;
import lombok.*;
import org.springframework.http.HttpStatus;

/**
 * @author Daniel
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ResponseBean<T extends Object> {
    private String trackId;
    private String innerCode = ErrorConstants.SUCCESS;
    private String message = HttpStatus.OK.getReasonPhrase();
    private T data;

}
